import request from '@/utils/request'

export function getBusinessList(data) {
  return request({
    url: '/api/monitor/itimsBusiness/getItimsBusinessPageList',
    method: 'post',
    data: data
  })
}

export function getAllBusinessList(data) {
  return request({
    url: '/api/monitor/itimsBusiness/getItimsBusinessList',
    method: 'post',
    data: data
  })
}

export function saveBusiness(data) {
  return request({
    url: '/api/monitor/itimsBusiness/saveItimsBusiness',
    method: 'post',
    data: data
  })
}

export function updateBusiness(data) {
  return request({
    url: '/api/monitor/itimsBusiness/updateItimsBusiness',
    method: 'post',
    data: data
  })
}

export function getBusinessDetail(data) {
  return request({
    url: '/api/monitor/itimsBusiness/getItimsBusinessDetail',
    method: 'post',
    data: data
  })
}

export function deleteBusiness(data) {
  return request({
    url: '/api/monitor/itimsBusiness/deleteItimsBusiness',
    method: 'post',
    data: data
  })
}

